<?php
use yii\widgets\ActiveForm;
use yii\helpers\Html;
 $form = ActiveForm::begin([
	'action' => ['user/pwd'],
	'method'=>'post',
	]); ?>
 
<? echo $form->field($model, 'u_pass')->passwordInput(['style'=>'width:300px']) ?>

<? echo $form->field($model, 'pwd2')->passwordInput(['style'=>'width:300px']) ?>

<? echo $form->field($model, 'pwd3')->passwordInput(['style'=>'width:300px']) ?>

<? echo Html::submitButton('提交', ['class'=>'btn btn-primary','name' =>'submit-button']) ?>
   
<? echo Html::resetButton('重置', ['class'=>'btn btn-primary','name' =>'submit-button']) ?>

<?php ActiveForm::end(); ?>